﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AL100.BankApplication.BLL
{
    public interface ICommand
    {
        /// <summary>
        /// Executes the current command.
        /// </summary>
        /// <param name="target">The target account.</param>
        void Execute        ();

        /// <summary>
        /// Un-executes the current command.
        /// </summary>
        /// <param name="target">The target account.</param>
        void Unexecute      ();
        
        /// <summary>
        /// Gets the amount.
        /// </summary>
        double Amount       { get; }
        
        /// <summary>
        /// Gets the operator.
        /// </summary>
        Operator Operator   { get; }
    }
}
